home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'AHMTLeds.pas' rev: 3.00
-
- #ifndef AHMTLedsHPP
- #define AHMTLedsHPP
- #include <AHMFreeware.hpp>
- #include <ExtCtrls.hpp>
- #include <Graphics.hpp>
- #include <Controls.hpp>
- #include <Classes.hpp>
- #include <SysUtils.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Ahmtleds
- {
- //-- type declarations -------------------------------------------------------
- class DELPHICLASS TAHMLed;
- class PASCALIMPLEMENTATION TAHMLed : public Controls::TGraphicControl
- {
- typedef Controls::TGraphicControl inherited;
-
- private:
- Ahmfreeware::TAHMAboutFreeStr FAbout;
- int finter;
- bool frun;
- bool fled;
- Extctrls::TTimer* ftim;
- Graphics::TColor fdon;
- Graphics::TColor fdoff;
- Graphics::TColor fback;
- Graphics::TColor fccol;
- void __fastcall Setfdon(Graphics::TColor value);
- void __fastcall Setfdoff(Graphics::TColor value);
- void __fastcall Setback(Graphics::TColor value);
- void __fastcall SeTAHMLed(bool value);
- void __fastcall Setrun(bool value);
- void __fastcall SetInter(int value);
-
- protected:
- virtual void __fastcall Paint(void);
- void __fastcall Runit(System::TObject* Sender);
-
- public:
- __fastcall virtual TAHMLed(Classes::TComponent* AOwner);
- __fastcall virtual ~TAHMLed(void);
- void __fastcall LedOn(void);
- void __fastcall LedOff(void);
- void __fastcall Blink(void);
-
- __published:
- __property Ahmfreeware::TAHMAboutFreeStr About = {read=FAbout, write=FAbout};
- __property OnClick ;
- __property OnDblClick ;
- __property Visible ;
- __property bool LedisOn = {read=fled, write=SeTAHMLed, nodefault};
- __property Graphics::TColor LedOnColor = {read=fdon, write=Setfdon, nodefault};
- __property Graphics::TColor LedOffColor = {read=fdoff, write=Setfdoff, nodefault};
- __property Graphics::TColor LedShadow = {read=fback, write=Setback, nodefault};
- __property int Interval = {read=finter, write=SetInter, nodefault};
- __property bool Blinking = {read=frun, write=Setrun, nodefault};
- __property Hint ;
- __property ShowHint ;
- };
-
- //-- var, const, procedure ---------------------------------------------------
-
- } /* namespace Ahmtleds */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Ahmtleds;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // AHMTLeds
-